<!--<?php
require_once template('header'); 
print <<<EOT
<!--右边开始-->
<script language="javascript">
$(function(){
//查询商品
$("#query_goods").click(function(e){
$.getJSON(
"ajax.php",
{action:"searchgoods",goods_name:$('#goods_name').val(),rand:Math.random()},
function(json){
$("#goods_id").empty();
$.each(json, function(i){
$("<option value='"+json[i].uid+"'>"+json[i].goods_name+"</option>").appendTo("#goods_id");
});
});
});

});
</script> 
<div id="right">
<form id="mvmmall" method="post" action="" name="mvmmall" onsubmit = "return auction();">
	<input type="hidden" name="action" id="action" value="$action"/>
	<input type="hidden" name="uid" value="$act_id" id="uid"/>
	<input type="hidden" name="setp" value="1" id="setp"/>
	<table cellpadding="0" cellspacing="1" class="list1">
		<tr>
			<th width="4%">ID</th>
			<th width="50%">$lang[add_auction]</th>
			<th>$lang[operation]</th>
		</tr>
		<tr >
			<td>1</td>
			<td class="td_left1">$lang[name_auction]</td>
			<td><input type="text" name="act_title" id="act_title" value="$act_title" size="30" maxlength="255" class="text" /></td>
		</tr>
		<tr >
			<td>2</td>
			<td class="td_left1">$lang[introduction]</td>
			<td><textarea name="act_desc" id="act_desc" rows="5" cols="35" class="text">$act_desc</textarea></td>
		</tr>
		<tr >
			<td>3</td>
			<td class="td_left1">$lang[starting_time]</td>
			<td> 
			 <input type="text" name="start_time" size="29" value="$start_time" id="start_time" ><input type="reset" value="..."
onclick="return showCalendar('start_time', 'y-m-d');">
			</td>
		</tr>
		<tr >
			<td>4</td>
			<td class="td_left1">$lang[end_time]</td>
			<td>
			 <input type="text" name="end_time" size="29" value="$end_time" id="end_time" ><input type="reset" value="..."
onclick="return showCalendar('end_time', 'y-m-d');">
			</td>
		</tr>
		<tr >
			<td>5</td>
			<td class="td_left1">$lang[search_goods]
		  <p class="cpsm">← $lang[enter_name].</p></td><td><input type="text" name="goods_name" id="goods_name"  size="30" maxlength="255" class="text" /> <input type="button" name="query_goods" id="query_goods" value="$lang[search]" class="inp" /></td>
		</tr>
		<tr >
			<td>6</td>
			<td class="td_left1">$lang[search_goods]</td>
			<td>
			  <span id="goods">
			<select name="goods_id" id="goods_id">
				<option value="$goods_id">$goods_name</option>
			</select>
			</span>
			</td>
		</tr>
		<tr >
			<td>7</td>
			<td class="td_left1">$lang[auction_price]</td>
			<td><input type="text" name="start_price" id="start_price" value="$start_price" size="10" maxlength="15" class="text" />
		    $lang[yuan]</td>
		</tr>
		<tr >
			<td>8</td>
			<td class="td_left1">$lang[a_price]</td>
			<td><input type="text" name="end_price" id="end_price" value="$end_price" size="10" maxlength="15" class="text" />
		    $lang[yuan]</td>
		</tr>
		<tr >
			<td>9</td>
			<td class="td_left1">$lang[rate_increase]</td>
			<td><input type="text" name="amplitude" id="amplitude" value="$amplitude" size="10" maxlength="15" class="text" />
		    $lang[yuan]</td>
		</tr>
		<tr >
			<td>10</td>
			<td class="td_left1">$lang[bond_auction]</td>
			<td><input type="text" name="deposit" id="deposit" value="$deposit" size="10" maxlength="15" class="text" />
		    $lang[yuan]</td>
		</tr>
	</table>
	<div id="tfoot"><input type="submit" name="Submit" value="&nbsp;$lang[submit]&nbsp;" /> <input type="reset" name="reset" value="&nbsp;$lang[reset]&nbsp;" /></div>
	</form>
</div>
<!--
EOT;
?>-->